{include file="header.html"}
<div id="rightTop">
    <p>{$lang.egg}</p>
    <ul class="subnav">
        <li><!--{if $wait_verify}--><a class="btn1" href="index.php?app=egg">{$lang.manage}</a><!--{else}--><span>{$lang.manage}</span><!--{/if}--></li>
        <li style="display:none"><a class="btn1" href="index.php?app=egg&amp;act=add">{$lang.add}</a></li>
    </ul>
</div>
<div class="tdare">
    <table width="100%" cellspacing="0" class="dataTable">
        <!--{if $eggs}-->
        <tr class="tatr1">
            <td width="20" class="firstCell"><input type="checkbox" class="checkall" /></td>
            <td align="left"><span ectype="order_by" fieldname="name">{$lang.name}</span></td>
            <td align="left"><span ectype="order_by" fieldname="noun">{$lang.noun}</span></td>
            <td align="left"><span ectype="order_by" fieldname="rate">{$lang.rate}</span></td>
            <td class="handler">{$lang.handler}</td>
        </tr>
        <!--{/if}-->
        <!--{foreach from=$eggs item=egg}-->
        <tr class="tatr2">
            <td class="firstCell"><input value="{egg.id}" class='checkitem' type="checkbox" /></td>
            <td align="left">{$egg.name|escape}</td>
            <td align="left">{$egg.noun|escape}</td>
            <td align="left">{$egg.rate|escape}</td>
            <td class="handler">
                <a href="index.php?app=egg&amp;act=edit&amp;id={$egg.id}">{$lang.edit}</a>  |  <a  style="display:none" name="drop" href="javascript:drop_confirm('{$lang.drop_confirm}', 'index.php?app=egg&amp;act=drop&amp;id={$egg.id}');">{$lang.drop}</a>
            </td>
        </tr>
        <!--{foreachelse}-->
        <tr class="no_data">
            <td colspan="5">{$lang.no_data}</td>
        </tr>
        <!--{/foreach}-->
    </table>
    <!--{if $eggs}-->
    <div id="dataFuncs">
        <div id="batchAction" class="left paddingT15">
            <!--{if $wait_verify}-->
            &nbsp;&nbsp;
            <input class="formbtn batchButton" type="button" value="{$lang.pass}" name="id" uri="index.php?app=card&act=pass" />
            &nbsp;&nbsp;
            <input class="formbtn batchButton" type="button" value="{$lang.refuse}" name="id" uri="index.php?app=card&act=refuse" />
            <!--{else}-->
            &nbsp;&nbsp;
            <input  style="display:none" class="formbtn batchButton" type="button" value="{$lang.drop}" name="id" uri="index.php?app=egg&act=drop" presubmit="confirm('{$lang.drop_warning}');" />
            <!--{/if}-->
        </div>
        <div class="pageLinks">{include file=page.bottom.html}</div>
    </div>
    <!--{/if}-->
    <div class="clear"></div>
</div>
{include file="footer.html"}
